package org.ahuanlien.crm.mapper;

import org.ahuanlien.crm.domain.ClientRepaymentInfo;
import org.ahuanlien.crm.query.ClaimChartQueryObject;
import org.ahuanlien.crm.query.ClientRepaymentInfoQueryObject;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface ClientRepaymentInfoMapper {

    int insert(ClientRepaymentInfo record);
    int query4Count(ClientRepaymentInfoQueryObject qo);
    List<ClientRepaymentInfo> query4list(ClientRepaymentInfoQueryObject qo);
    void setOpinion(@Param("opinion") String opinion , @Param("infoSn") String infoSn);
    void informClient(String repaymentInfoNumber);
    ClientRepaymentInfo queryByInfoSn(String infoSn);
    List<Map<String,BigDecimal>> queryByGroupType(ClaimChartQueryObject qo);
}